package com.feifan.monthhelper.bean.db;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
import android.arch.persistence.room.TypeConverters;

import com.feifan.monthhelper.db.conventer.DateConverter;
import com.feifan.monthhelper.db.conventer.StringListConventer;

import java.util.Date;
import java.util.List;

/**
 * 月经量
 */
@Entity(tableName = "menstrual_blood")
@TypeConverters({DateConverter.class})
public class MenstrualBloodBean {
    @PrimaryKey
    public Date date;
    public int level;

    @Ignore
    public MenstrualBloodBean(Date date, int level) {
        this.date = date;
        this.level = level;
    }

    public MenstrualBloodBean() {
    }
}
